package com.ncui.wisdomLearn.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户角色表(UserRole)表 实体类
 *
 * @author lvlele
 * @since 2025-01-04 01:06:10
 */
@Data
@TableName("user_role")
@EqualsAndHashCode(callSuper = true)
public class UserRole extends Model<UserRole> {
    /**
     * 用户ID
     */
    @TableId
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;
}

